#ARCH:=arm-linux-
CXX:=$(ARCH)g++
CFLAGS:= -std=c++11
OBJ:=$(patsubst %.cpp, %.o, $(wildcard *.cpp)) afn/afn0d.cpp

test.exe:$(OBJ)
	$(CXX) $+ -o $@ -lACE

%.o:%.cpp
	$(CXX) $+ $(CFLAGS) -c -o $@

tags: *.cpp *.h
	ctags $+

clean:
	@rm -rfv *.o *.exe

